package com.Date;

import java.util.Date;

public class Demo02 {
    public static void main(String[] args) {
        //method1();
        Date date1 = new Date();
        date1.setTime(0L);
        System.out.println(date1);
    }

    private static void method1() {
        Date date = new Date();
        long time = date.getTime();
        System.out.println(time);
        long l = System.currentTimeMillis();
        System.out.println(l);
    }
}
